package com.un.ebs.contract.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.un.ebs.core.enums.IEnum;
import lombok.Getter;

@Getter
public enum ContractItemChangeTypeEnum implements IEnum {
    None(0, "无变更"),
    ChangePrice(1, "价格变更"),
    ChangeQty(2, "数量变更"),
    ChangePriceAndQty(3, "价格和数量变更"),
    DeleteItem(4, "删除项目"),
    NewItem(5, "新增项目");

    @EnumValue
    private final int code;

    private final String desc;

    ContractItemChangeTypeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

}
